package com.gopay.common.order.dao;

import com.gopay.common.base.dao.BaseReadDAO;
import com.gopay.common.domain.cps.CpsBatchTaskTargetRel;

import java.util.List;

/**
 * 批量任务Dao接口类(common-order)
 *
 * @CpsBatchTaskDAO.java
 * @author liuxin
 * @2013-3-5 上午11:09:49 www.gopay.com.cn Inc.All rights reserved.
 */
public interface CpsBatchTaskTargetRelQueryDAO extends BaseReadDAO<CpsBatchTaskTargetRel, Long> {

    /**
     * 根据targetId取得CpsBatchTaskTargetRel the target
     *
     * @param targetId
     * @return
     */
    CpsBatchTaskTargetRel getTargetRelByTargetId(String targetId);

    List<CpsBatchTaskTargetRel> getTargetRelListByTargetId(Long batchtaskId);
}
